﻿using POCOS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GUI.Models
{
    //comparateur 
    public class DistinctThem : IEqualityComparer<Themes>
    {
        public bool Equals(Themes x, Themes y)
        {
            return x.Subjects==y.Subjects;
        }

        public int GetHashCode(Themes obj)
        {
            return obj.Subjects.GetHashCode();
        }




    }
}